//
//  RecommendHeaderView.m
//  ProductB
//
//  Created by 田阳 on 16/8/6.
//  Copyright © 2016年 田阳. All rights reserved.
//

#import "RecommendHeaderView.h"

@implementation RecommendHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.imageScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 150)];
        [self addSubview:_imageScrollView];
        
        self.buttonScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, _imageScrollView.endY, kScreenWidth, 100)];
        [self addSubview:_buttonScrollView];
    }
    return self;
}

@end
